package com.diy.sigmund.diycommon.designpatterns.strategy.enum1;

/**
 * @author ylm-sigmund
 * @since 2021/8/27 11:33
 */
public enum PizzaDeliverySystemConfiguration {
    INSTANCE;

    private PizzaDeliveryStrategy deliveryStrategy = PizzaDeliveryStrategy.NORMAL;

    PizzaDeliverySystemConfiguration() {
    }

    public static PizzaDeliverySystemConfiguration getInstance() {
        return INSTANCE;
    }

    public PizzaDeliveryStrategy getDeliveryStrategy() {
        return deliveryStrategy;
    }
}
